package com.func.domain.rebate.model.entity;

import com.func.domain.award.model.valobj.TaskStateVO;
import com.func.domain.rebate.event.SendRebateMessageEvent;
import com.func.types.event.BaseEvent;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * TaskEntity
 * </p>
 *
 * @author Simon
 * @version 2025.03.17.1.0.0
 * @description
 * @since 2025-03-17
 */

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TaskEntity {

    /** 用户Id*/
    private String userId;
    /** 消息主题*/
    private String topic;
    /** 消息编号*/
    private String messageId;
    /** 消息主体*/
    private BaseEvent.EventMessage<SendRebateMessageEvent.RebateMessage> message;
    /** 任务状态*/
    private TaskStateVO state;
}
